package com.xiaoxx.model.vo.webSocket;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.websocket.Session;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/***
 *   当前在线列表信息
 */
@Data
public class OnlineUserVo implements Serializable {
    private static final long serialVersionUID = 6239537958223115071L;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 用户名称
     */
    private String username;
    /**
     * 连接时间
     */
    private String createTime;

    @ApiModelProperty(value = "头像")
    private String headPic;

}
